@pie-element/charting 12.1.1 → 12.1.2-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (228) hide show
  1. package/configure.js +2 -0
  2. package/controller.js +1 -0
  3. package/dist/author/charting-config.d.ts +30 -0
  4. package/dist/author/charting-config.js +126 -0
  5. package/dist/author/configure.d.ts +29 -0
  6. package/dist/author/configure.js +205 -0
  7. package/dist/author/correct-response.d.ts +27 -0
  8. package/dist/author/correct-response.js +116 -0
  9. package/dist/author/defaults.d.ts +229 -0
  10. package/dist/author/defaults.js +186 -0
  11. package/dist/author/index.d.ts +51 -0
  12. package/dist/author/index.js +74 -0
  13. package/dist/author/utils.d.ts +42 -0
  14. package/dist/author/utils.js +244 -0
  15. package/dist/browser/_baseSet-Cse6EM9A.js +1015 -0
  16. package/dist/browser/_baseSet-Cse6EM9A.js.map +1 -0
  17. package/dist/browser/author/index.js +1242 -0
  18. package/dist/browser/author/index.js.map +1 -0
  19. package/dist/browser/chart-Dghjf6JQ.js +62980 -0
  20. package/dist/browser/chart-Dghjf6JQ.js.map +1 -0
  21. package/dist/browser/charting.css +2 -0
  22. package/dist/browser/controller/index.js +233 -0
  23. package/dist/browser/controller/index.js.map +1 -0
  24. package/dist/browser/delivery/index.js +517 -0
  25. package/dist/browser/delivery/index.js.map +1 -0
  26. package/dist/charting.css +2 -0
  27. package/dist/controller/defaults.d.ts +44 -0
  28. package/dist/controller/defaults.js +33 -0
  29. package/dist/controller/index.d.ts +28 -0
  30. package/dist/controller/index.js +155 -0
  31. package/dist/delivery/index.d.ts +21 -0
  32. package/dist/delivery/index.js +46 -0
  33. package/dist/delivery/main.d.ts +23 -0
  34. package/dist/delivery/main.js +128 -0
  35. package/dist/index.d.ts +1 -0
  36. package/dist/index.iife.d.ts +8 -0
  37. package/dist/index.iife.js +397 -0
  38. package/dist/index.js +2 -0
  39. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js +6 -0
  40. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js +16 -0
  41. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js +16 -0
  42. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js +6 -0
  43. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js +16 -0
  44. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js +6 -0
  45. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Set.js +6 -0
  46. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.js +11 -0
  47. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js +14 -0
  48. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +5 -0
  49. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js +5 -0
  50. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js +6 -0
  51. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_apply.js +12 -0
  52. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js +7 -0
  53. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js +10 -0
  54. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +15 -0
  55. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js +7 -0
  56. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js +7 -0
  57. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.js +7 -0
  58. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js +10 -0
  59. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js +8 -0
  60. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js +8 -0
  61. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js +8 -0
  62. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js +12 -0
  63. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js +57 -0
  64. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js +14 -0
  65. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFlatten.js +13 -0
  66. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.js +10 -0
  67. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js +9 -0
  68. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +10 -0
  69. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseHasIn.js +6 -0
  70. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +9 -0
  71. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js +8 -0
  72. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js +30 -0
  73. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js +9 -0
  74. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +11 -0
  75. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js +9 -0
  76. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +11 -0
  77. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js +12 -0
  78. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +13 -0
  79. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePick.js +10 -0
  80. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePickBy.js +13 -0
  81. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSet.js +22 -0
  82. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js +14 -0
  83. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +7 -0
  84. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.js +15 -0
  85. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +8 -0
  86. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.js +6 -0
  87. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js +10 -0
  88. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js +8 -0
  89. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js +10 -0
  90. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js +8 -0
  91. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js +8 -0
  92. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js +8 -0
  93. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js +8 -0
  94. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js +8 -0
  95. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js +14 -0
  96. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js +8 -0
  97. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js +8 -0
  98. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +5 -0
  99. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +10 -0
  100. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js +35 -0
  101. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js +35 -0
  102. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js +32 -0
  103. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_flatRest.js +9 -0
  104. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +4 -0
  105. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js +9 -0
  106. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js +9 -0
  107. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js +8 -0
  108. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +9 -0
  109. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js +5 -0
  110. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +14 -0
  111. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js +10 -0
  112. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js +11 -0
  113. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js +23 -0
  114. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +6 -0
  115. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hasPath.js +18 -0
  116. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js +7 -0
  117. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js +7 -0
  118. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js +13 -0
  119. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js +9 -0
  120. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js +9 -0
  121. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js +8 -0
  122. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js +33 -0
  123. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js +9 -0
  124. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isFlattenable.js +10 -0
  125. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +8 -0
  126. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js +11 -0
  127. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js +7 -0
  128. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +11 -0
  129. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +8 -0
  130. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js +6 -0
  131. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js +9 -0
  132. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js +8 -0
  133. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js +7 -0
  134. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js +8 -0
  135. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js +13 -0
  136. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js +8 -0
  137. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js +7 -0
  138. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js +7 -0
  139. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js +8 -0
  140. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.js +9 -0
  141. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js +11 -0
  142. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js +5 -0
  143. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js +5 -0
  144. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +8 -0
  145. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +9 -0
  146. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +7 -0
  147. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js +8 -0
  148. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js +13 -0
  149. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +5 -0
  150. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.js +7 -0
  151. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js +6 -0
  152. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js +9 -0
  153. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js +6 -0
  154. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js +14 -0
  155. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js +7 -0
  156. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js +7 -0
  157. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js +6 -0
  158. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js +6 -0
  159. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js +16 -0
  160. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js +10 -0
  161. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js +10 -0
  162. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +15 -0
  163. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js +8 -0
  164. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/constant.js +8 -0
  165. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +6 -0
  166. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/flatten.js +7 -0
  167. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/hasIn.js +8 -0
  168. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/identity.js +6 -0
  169. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +10 -0
  170. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +4 -0
  171. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +8 -0
  172. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +6 -0
  173. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js +21 -0
  174. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js +7 -0
  175. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +11 -0
  176. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +7 -0
  177. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isMap.js +7 -0
  178. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +7 -0
  179. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +6 -0
  180. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSet.js +7 -0
  181. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js +9 -0
  182. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +7 -0
  183. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js +9 -0
  184. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +9 -0
  185. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/memoize.js +16 -0
  186. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/pick.js +8 -0
  187. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js +6 -0
  188. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +6 -0
  189. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toString.js +7 -0
  190. package/package.json +79 -18
  191. package/CHANGELOG.json +0 -487
  192. package/CHANGELOG.md +0 -1995
  193. package/LICENSE.md +0 -5
  194. package/README.md +0 -1
  195. package/configure/CHANGELOG.json +0 -292
  196. package/configure/CHANGELOG.md +0 -1762
  197. package/configure/lib/charting-config.js +0 -192
  198. package/configure/lib/charting-config.js.map +0 -1
  199. package/configure/lib/configure.js +0 -312
  200. package/configure/lib/configure.js.map +0 -1
  201. package/configure/lib/correct-response.js +0 -244
  202. package/configure/lib/correct-response.js.map +0 -1
  203. package/configure/lib/defaults.js +0 -233
  204. package/configure/lib/defaults.js.map +0 -1
  205. package/configure/lib/index.js +0 -120
  206. package/configure/lib/index.js.map +0 -1
  207. package/configure/lib/utils.js +0 -80
  208. package/configure/lib/utils.js.map +0 -1
  209. package/configure/package.json +0 -29
  210. package/controller/CHANGELOG.json +0 -262
  211. package/controller/CHANGELOG.md +0 -1212
  212. package/controller/lib/defaults.js +0 -42
  213. package/controller/lib/defaults.js.map +0 -1
  214. package/controller/lib/index.js +0 -434
  215. package/controller/lib/index.js.map +0 -1
  216. package/controller/package.json +0 -24
  217. package/docs/config-schema.json +0 -2440
  218. package/docs/config-schema.json.md +0 -1802
  219. package/docs/demo/config.js +0 -8
  220. package/docs/demo/generate.js +0 -63
  221. package/docs/demo/index.html +0 -1
  222. package/docs/demo/session.js +0 -26
  223. package/docs/pie-schema.json +0 -1731
  224. package/docs/pie-schema.json.md +0 -945
  225. package/lib/index.js +0 -78
  226. package/lib/index.js.map +0 -1
  227. package/lib/main.js +0 -167
  228. package/lib/main.js.map +0 -1
package/configure.js ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from './dist/author/index.js';
2
+ export * from './dist/author/index.js';
package/controller.js ADDED
@@ -0,0 +1 @@
1
+ export * from './dist/controller/index.js';
@@ -0,0 +1,30 @@
1
+ /**
2
+ * @synced-from pie-elements/packages/charting/configure/src/charting-config.jsx
3
+ * @auto-generated
4
+ *
5
+ * This file is automatically synced from pie-elements and converted to TypeScript.
6
+ * Manual edits will be overwritten on next sync.
7
+ * To make changes, edit the upstream JavaScript file and run sync again.
8
+ */
9
+ import * as React from 'react';
10
+ import PropTypes from 'prop-types';
11
+ export declare class ChartingConfig extends React.Component {
12
+ static propTypes: {
13
+ model: PropTypes.Validator<object>;
14
+ onChange: PropTypes.Validator<(...args: any[]) => any>;
15
+ charts: PropTypes.Requireable<any[]>;
16
+ labelsPlaceholders: PropTypes.Requireable<object>;
17
+ titlePlaceholder: PropTypes.Requireable<object>;
18
+ showPixelGuides: PropTypes.Requireable<boolean>;
19
+ authorNewCategoryDefaults: PropTypes.Requireable<object>;
20
+ chartingOptions: PropTypes.Requireable<object>;
21
+ };
22
+ constructor(props: any);
23
+ handleAlertDialog: (open: any, callback: any) => void;
24
+ changeData: (data: any) => any;
25
+ changeAddRemoveEnabled: any;
26
+ changeTitle: (title: any) => any;
27
+ changeLabel: (type: any, label: any) => any;
28
+ render(): React.JSX.Element;
29
+ }
30
+ export default ChartingConfig;
@@ -0,0 +1,126 @@
1
+ import * as e from "react";
2
+ import t from "prop-types";
3
+ import { styled as n } from "@mui/material/styles";
4
+ import { color as r } from "@pie-lib/render-ui";
5
+ import { jsx as i, jsxs as a } from "react/jsx-runtime";
6
+ import { Chart as o } from "@pie-lib/charting";
7
+ import { AlertDialog as s } from "@pie-lib/config-ui";
8
+ import c from "@mui/material/Typography";
9
+ import l from "@mui/material/Checkbox";
10
+ //#region src/author/charting-config.tsx
11
+ var u = n("div")(({ theme: e }) => ({
12
+ marginBottom: e.spacing(2.5),
13
+ display: "flex",
14
+ flex: 1
15
+ })), d = n("div")(({ theme: e }) => ({ marginBottom: e.spacing(1) })), f = n("div")({ flex: 1 }), p = n(l)({ color: `${r.tertiary()} !important` }), m = (e, t) => {
16
+ if (!e) return t;
17
+ let n = [];
18
+ return (t || []).forEach((t, r) => {
19
+ let { editable: i, interactive: a } = t;
20
+ n[r] = {
21
+ label: i && e[r]?.label ? e[r].label : t.label,
22
+ value: a && e[r]?.value ? e[r].value : t.value,
23
+ editable: t.editable,
24
+ interactive: t.interactive
25
+ };
26
+ }), n;
27
+ }, h = class extends e.Component {
28
+ static propTypes = {
29
+ model: t.object.isRequired,
30
+ onChange: t.func.isRequired,
31
+ charts: t.array,
32
+ labelsPlaceholders: t.object,
33
+ titlePlaceholder: t.object,
34
+ showPixelGuides: t.bool,
35
+ authorNewCategoryDefaults: t.object,
36
+ chartingOptions: t.object
37
+ };
38
+ constructor(e) {
39
+ super(e), this.state = { dialog: { open: !1 } };
40
+ }
41
+ handleAlertDialog = (e, t) => this.setState({ dialog: { open: e } }, t);
42
+ changeData = (e) => this.props.onChange({
43
+ ...this.props.model,
44
+ data: e
45
+ });
46
+ changeAddRemoveEnabled = (e) => {
47
+ let { model: t } = this.props, n = m(t.correctAnswer.data, t.data);
48
+ e ? this.props.onChange({
49
+ ...this.props.model,
50
+ addCategoryEnabled: e
51
+ }) : this.setState({ dialog: {
52
+ open: !0,
53
+ title: "Warning",
54
+ text: "This change will remove any correct answer categories that are not part of the initial item configuration.",
55
+ onConfirm: () => this.handleAlertDialog(!1, this.props.onChange({
56
+ ...this.props.model,
57
+ addCategoryEnabled: e,
58
+ correctAnswer: { data: n }
59
+ })),
60
+ onClose: () => this.handleAlertDialog(!1)
61
+ } });
62
+ };
63
+ changeTitle = (e) => this.props.onChange({
64
+ ...this.props.model,
65
+ title: e
66
+ });
67
+ changeLabel = (e, t) => this.props.onChange({
68
+ ...this.props.model,
69
+ [e]: {
70
+ ...this.props.model[e],
71
+ label: t
72
+ }
73
+ });
74
+ render() {
75
+ let { model: e, charts: t, labelsPlaceholders: n, titlePlaceholder: r, showPixelGuides: l, authorNewCategoryDefaults: m, chartingOptions: h, mathMlOptions: g = {}, labelsCharactersLimit: _ } = this.props, { dialog: v } = this.state, { domain: y = {}, range: b = {} } = e || {};
76
+ return /* @__PURE__ */ a("div", { children: [/* @__PURE__ */ i(d, { children: "Define Initial Chart Attributes" }), /* @__PURE__ */ i(u, { children: /* @__PURE__ */ a(f, { children: [
77
+ /* @__PURE__ */ i(c, {
78
+ component: "div",
79
+ type: "body1",
80
+ children: /* @__PURE__ */ i("span", { children: "Use the tools below to set up the chart as it will initially appear to students." })
81
+ }),
82
+ /* @__PURE__ */ i(o, {
83
+ defineChart: !0,
84
+ chartingOptions: h,
85
+ showPixelGuides: l,
86
+ chartType: e.chartType,
87
+ size: e.graph,
88
+ domain: y,
89
+ range: b,
90
+ charts: t,
91
+ data: e.data.map((e, t) => ({
92
+ ...e,
93
+ index: t
94
+ })),
95
+ title: e.title,
96
+ onDataChange: this.changeData,
97
+ onChangeTitle: this.changeTitle,
98
+ onChangeLabels: this.changeLabel,
99
+ addCategoryEnabled: !0,
100
+ changeInteractiveEnabled: e.changeInteractiveEnabled,
101
+ changeEditableEnabled: e.changeEditableEnabled,
102
+ categoryDefaultLabel: m?.label,
103
+ categoryDefaults: m,
104
+ labelsPlaceholders: n,
105
+ titlePlaceholder: r?.label,
106
+ mathMlOptions: g,
107
+ labelsCharactersLimit: _
108
+ }),
109
+ e.changeAddCategoryEnabled && /* @__PURE__ */ a("div", { children: [/* @__PURE__ */ i(p, {
110
+ checked: e.addCategoryEnabled,
111
+ onChange: (e) => {
112
+ this.changeAddRemoveEnabled(e.target.checked);
113
+ }
114
+ }), h?.addCategory?.authoringLabel] }),
115
+ /* @__PURE__ */ i(s, {
116
+ open: v.open,
117
+ title: v.title,
118
+ text: v.text,
119
+ onClose: v.onClose,
120
+ onConfirm: v.onConfirm
121
+ })
122
+ ] }, "graph") })] });
123
+ }
124
+ };
125
+ //#endregion
126
+ export { h as default };
@@ -0,0 +1,29 @@
1
+ /**
2
+ * @synced-from pie-elements/packages/charting/configure/src/configure.jsx
3
+ * @auto-generated
4
+ *
5
+ * This file is automatically synced from pie-elements and converted to TypeScript.
6
+ * Manual edits will be overwritten on next sync.
7
+ * To make changes, edit the upstream JavaScript file and run sync again.
8
+ */
9
+ import React from 'react';
10
+ import PropTypes from 'prop-types';
11
+ export declare class Configure extends React.Component {
12
+ static propTypes: {
13
+ onModelChanged: PropTypes.Requireable<(...args: any[]) => any>;
14
+ onConfigurationChanged: PropTypes.Requireable<(...args: any[]) => any>;
15
+ imageSupport: PropTypes.Requireable<object>;
16
+ uploadSoundSupport: PropTypes.Requireable<object>;
17
+ model: PropTypes.Validator<object>;
18
+ configuration: PropTypes.Validator<object>;
19
+ chartingOptions: PropTypes.Requireable<object>;
20
+ };
21
+ constructor(props: any);
22
+ onRationaleChange: (rationale: any) => any;
23
+ onPromptChange: (prompt: any) => any;
24
+ onTeacherInstructionsChange: (teacherInstructions: any) => any;
25
+ onChartTypeChange: (chartType: any) => any;
26
+ onConfigChange: any;
27
+ render(): React.JSX.Element;
28
+ }
29
+ export default Configure;
@@ -0,0 +1,205 @@
1
+ import e from "./charting-config.js";
2
+ import t from "./correct-response.js";
3
+ import { applyConstraints as n, getGridValues as r, getLabelValues as i } from "./utils.js";
4
+ import a from "react";
5
+ import o from "prop-types";
6
+ import { styled as s } from "@mui/material/styles";
7
+ import { jsx as c, jsxs as l } from "react/jsx-runtime";
8
+ import { ConfigureChartPanel as u, chartTypes as d } from "@pie-lib/charting";
9
+ import f from "debug";
10
+ import { InputContainer as p, layout as ee, settings as m } from "@pie-lib/config-ui";
11
+ import h from "@mui/material/Typography";
12
+ import g from "@pie-lib/editable-html-tip-tap";
13
+ //#region src/author/configure.tsx
14
+ var _ = f("@pie-element:graphing:configure"), { Panel: te, toggle: v, radio: ne, dropdown: re, textField: ie } = m, y = s(p)(({ theme: e }) => ({
15
+ width: "100%",
16
+ paddingTop: e.spacing(2),
17
+ marginBottom: e.spacing(2)
18
+ })), b = s(h)(({ theme: e }) => ({ marginBottom: e.spacing(2.5) })), x = s("div")(({ theme: e }) => ({
19
+ fontSize: e.typography.fontSize - 2,
20
+ color: e.palette.error.main,
21
+ paddingTop: e.spacing(1)
22
+ })), S = [
23
+ d.Bar(),
24
+ d.Histogram(),
25
+ d.LineDot(),
26
+ d.LineCross(),
27
+ d.DotPlot(),
28
+ d.LinePlot()
29
+ ], C = class extends a.Component {
30
+ static propTypes = {
31
+ onModelChanged: o.func,
32
+ onConfigurationChanged: o.func,
33
+ imageSupport: o.object,
34
+ uploadSoundSupport: o.object,
35
+ model: o.object.isRequired,
36
+ configuration: o.object.isRequired,
37
+ chartingOptions: o.object
38
+ };
39
+ constructor(e) {
40
+ super(e);
41
+ let { range: t = {}, graph: n } = e.model || {}, a = { range: r(t, n.height, !0) }, o = { range: i(t.step || 1) };
42
+ this.state = {
43
+ gridValues: a,
44
+ labelValues: o
45
+ };
46
+ }
47
+ onRationaleChange = (e) => this.props.onModelChanged({
48
+ ...this.props.model,
49
+ rationale: e
50
+ });
51
+ onPromptChange = (e) => this.props.onModelChanged({
52
+ ...this.props.model,
53
+ prompt: e
54
+ });
55
+ onTeacherInstructionsChange = (e) => this.props.onModelChanged({
56
+ ...this.props.model,
57
+ teacherInstructions: e
58
+ });
59
+ onChartTypeChange = (e) => this.props.onModelChanged({
60
+ ...this.props.model,
61
+ chartType: e
62
+ });
63
+ onConfigChange = (e) => {
64
+ let { model: t, onModelChanged: r } = this.props, { gridValues: i, labelValues: a } = this.state, o = {
65
+ ...t,
66
+ ...e
67
+ }, { graph: s, range: c } = o, l = {}, u = {}, d = n(c, s.height, i.range, a.range);
68
+ l.range = d.gridValues, u.range = d.labelValues, this.setState({
69
+ gridValues: l,
70
+ labelValues: u
71
+ }), r(o);
72
+ };
73
+ render() {
74
+ let { configuration: n, imageSupport: r, model: i, onConfigurationChanged: a, onModelChanged: o, uploadSoundSupport: s } = this.props;
75
+ _("[render] model", i);
76
+ let { graph: d } = i, { baseInputConfiguration: f = {}, contentDimensions: p = {}, chartDimensions: m = {}, authorNewCategoryDefaults: h = {}, labelsPlaceholders: C = {}, instruction: w = {}, maxImageWidth: T = {}, maxImageHeight: E = {}, prompt: D = {}, rationale: O = {}, scoringType: k = {}, settingsPanelDisabled: ae, spellCheck: A = {}, studentInstructions: j = {}, teacherInstructions: M = {}, titlePlaceholder: N = {}, withRubric: P = {}, chartingOptions: F = {}, availableChartTypes: I = {}, mathMlOptions: L = {}, chartTypeLabel: R, language: z = {}, languageChoices: B = {}, labelsCharactersLimit: V } = n || {}, { errors: H, extraCSSRules: U, promptEnabled: W, rationaleEnabled: G, spellCheckEnabled: K, teacherInstructionsEnabled: oe, studentNewCategoryDefaultLabel: q } = i || {}, { categoryErrors: se, correctAnswerErrors: ce, prompt: J, rationale: Y, teacherInstructions: X } = H || {}, { gridValues: le, labelValues: ue } = this.state, de = m.showInConfigPanel || !0, Z = T && T.prompt, Q = E && E.prompt, fe = {
77
+ changeInteractiveEnabled: F.changeInteractive?.settings && v(F.changeInteractive.settingsLabel),
78
+ changeEditableEnabled: F.changeEditable?.settings && v(F.changeEditable.settingsLabel),
79
+ changeAddCategoryEnabled: F.addCategory?.settings && v(F.addCategory.settingsLabel)
80
+ }, pe = {
81
+ teacherInstructionsEnabled: M.settings && v(M.label),
82
+ studentInstructionsEnabled: j.settings && v(j.label),
83
+ rationaleEnabled: O.settings && v(O.label),
84
+ spellCheckEnabled: A.settings && v(A.label),
85
+ promptEnabled: D.settings && v(D.label),
86
+ scoringType: k.settings && ne(k.label, ["all or nothing", "partial scoring"]),
87
+ rubricEnabled: P?.settings && v(P?.label),
88
+ "language.enabled": z.settings && v(z.label, !0),
89
+ language: z.settings && z.enabled && re(B.label, B.options),
90
+ instruction: w.settings && ie(w.label)
91
+ }, $ = (e = {}) => ({
92
+ ...f,
93
+ ...e
94
+ });
95
+ return /* @__PURE__ */ l(ee.ConfigLayout, {
96
+ extraCSSRules: U,
97
+ dimensions: p,
98
+ hideSettings: ae,
99
+ settings: /* @__PURE__ */ c(te, {
100
+ model: i,
101
+ configuration: n,
102
+ onChangeModel: o,
103
+ onChangeConfiguration: a,
104
+ groups: {
105
+ Settings: fe,
106
+ Properties: pe
107
+ }
108
+ }),
109
+ children: [
110
+ /* @__PURE__ */ c(b, {
111
+ component: "div",
112
+ type: "body1",
113
+ children: w?.label || ""
114
+ }),
115
+ oe && /* @__PURE__ */ l(y, {
116
+ label: M.label,
117
+ children: [/* @__PURE__ */ c(g, {
118
+ markup: i.teacherInstructions || "",
119
+ onChange: this.onTeacherInstructionsChange,
120
+ imageSupport: r,
121
+ nonEmpty: !1,
122
+ error: X,
123
+ spellCheck: K,
124
+ pluginProps: $(M?.inputConfiguration),
125
+ maxImageWidth: T && T.teacherInstructions || Z,
126
+ maxImageHeight: E && E.teacherInstructions || Q,
127
+ uploadSoundSupport: s,
128
+ languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
129
+ mathMlOptions: L
130
+ }), X && /* @__PURE__ */ c(x, { children: X })]
131
+ }),
132
+ W && /* @__PURE__ */ l(y, {
133
+ label: D.label,
134
+ children: [/* @__PURE__ */ c(g, {
135
+ markup: i.prompt,
136
+ onChange: this.onPromptChange,
137
+ imageSupport: r,
138
+ nonEmpty: !1,
139
+ error: J,
140
+ spellCheck: K,
141
+ disableUnderline: !0,
142
+ pluginProps: $(D?.inputConfiguration),
143
+ maxImageWidth: Z,
144
+ maxImageHeight: Q,
145
+ uploadSoundSupport: s,
146
+ languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
147
+ mathMlOptions: L
148
+ }), J && /* @__PURE__ */ c(x, { children: J })]
149
+ }),
150
+ /* @__PURE__ */ c(u, {
151
+ model: i,
152
+ onChange: this.onConfigChange,
153
+ gridValues: le,
154
+ labelValues: ue,
155
+ chartDimensions: m,
156
+ charts: S,
157
+ studentNewCategoryDefaultLabel: q,
158
+ availableChartTypes: I,
159
+ chartTypeLabel: R
160
+ }),
161
+ /* @__PURE__ */ c(e, {
162
+ model: i,
163
+ onChange: o,
164
+ charts: S,
165
+ labelsPlaceholders: C,
166
+ titlePlaceholder: N,
167
+ showPixelGuides: de,
168
+ authorNewCategoryDefaults: h,
169
+ chartingOptions: F,
170
+ mathMlOptions: L,
171
+ labelsCharactersLimit: V
172
+ }),
173
+ /* @__PURE__ */ c(t, {
174
+ config: d,
175
+ model: i,
176
+ onChange: o,
177
+ charts: S,
178
+ error: se,
179
+ correctAnswerErrors: ce,
180
+ studentNewCategoryDefaultLabel: q,
181
+ mathMlOptions: L,
182
+ labelsPlaceholders: C
183
+ }),
184
+ G && /* @__PURE__ */ l(y, {
185
+ label: O.label || "Rationale",
186
+ children: [/* @__PURE__ */ c(g, {
187
+ markup: i.rationale || "",
188
+ onChange: this.onRationaleChange,
189
+ imageSupport: r,
190
+ error: Y,
191
+ spellCheck: K,
192
+ pluginProps: $(O?.inputConfiguration),
193
+ maxImageWidth: T && T.rationale || Z,
194
+ maxImageHeight: E && E.rationale || Q,
195
+ uploadSoundSupport: s,
196
+ languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
197
+ mathMlOptions: L
198
+ }), Y && /* @__PURE__ */ c(x, { children: Y })]
199
+ })
200
+ ]
201
+ });
202
+ }
203
+ };
204
+ //#endregion
205
+ export { C as default };
@@ -0,0 +1,27 @@
1
+ /**
2
+ * @synced-from pie-elements/packages/charting/configure/src/correct-response.jsx
3
+ * @auto-generated
4
+ *
5
+ * This file is automatically synced from pie-elements and converted to TypeScript.
6
+ * Manual edits will be overwritten on next sync.
7
+ * To make changes, edit the upstream JavaScript file and run sync again.
8
+ */
9
+ import * as React from 'react';
10
+ import PropTypes from 'prop-types';
11
+ export declare const getUpdatedCategories: (nextProps: any, prevProps: any, prevState: any) => any;
12
+ export declare class CorrectResponse extends React.Component {
13
+ static propTypes: {
14
+ correctAnswerErrors: PropTypes.Requireable<object>;
15
+ studentNewCategoryDefaultLabel: PropTypes.Requireable<string>;
16
+ model: PropTypes.Validator<object>;
17
+ onChange: PropTypes.Validator<(...args: any[]) => any>;
18
+ charts: PropTypes.Requireable<any[]>;
19
+ error: PropTypes.Requireable<string>;
20
+ };
21
+ constructor(props: any);
22
+ changeData: any;
23
+ componentDidMount(): void;
24
+ componentDidUpdate(prevProps: any, prevState: any): void;
25
+ render(): React.JSX.Element;
26
+ }
27
+ export default CorrectResponse;
@@ -0,0 +1,116 @@
1
+ import e from "../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js";
2
+ import t from "../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js";
3
+ import * as n from "react";
4
+ import r from "prop-types";
5
+ import { styled as i } from "@mui/material/styles";
6
+ import { jsx as a, jsxs as o } from "react/jsx-runtime";
7
+ import { Chart as s } from "@pie-lib/charting";
8
+ import c from "@mui/material/Typography";
9
+ //#region src/author/correct-response.tsx
10
+ var l = i("div")(({ theme: e }) => ({
11
+ marginBottom: e.spacing(2.5),
12
+ display: "flex",
13
+ flex: 1
14
+ })), u = i("div")({ flex: 1 }), d = i("div")(({ theme: e }) => ({ border: `2px solid ${e.palette.error.main}` })), f = i(c)(({ theme: e }) => ({
15
+ fontSize: e.typography.fontSize - 2,
16
+ color: e.palette.error.main,
17
+ paddingTop: e.spacing(1)
18
+ })), p = i("div")(({ theme: e }) => ({ marginBottom: e.spacing(1) })), m = (e, t) => e.map((e, n) => ({
19
+ ...e,
20
+ editable: n < t.length ? t[n].editable : !0,
21
+ interactive: n < t.length ? t[n].interactive : !0,
22
+ deletable: n >= t.length
23
+ })), h = (e, t) => {
24
+ if (!e) return t;
25
+ let n = [...e], r = [];
26
+ if ((t || []).forEach((t, n) => {
27
+ let i = t.editable, a = t.interactive;
28
+ r[n] = {
29
+ label: i && e[n]?.label ? e[n].label : t.label,
30
+ value: a && e[n]?.value || a && e[n]?.value == 0 ? e[n].value : t.value,
31
+ editable: t.editable,
32
+ interactive: t.interactive
33
+ };
34
+ }), r.length < e.length) {
35
+ let i = (n || []).slice(r.length, e.length);
36
+ return m((r || []).concat(i), t);
37
+ }
38
+ return r;
39
+ }, g = (e, t) => {
40
+ let n = t.length - 1, { editable: r, interactive: i, deletable: a, ...o } = t[t.length - 1];
41
+ return (e || []).splice(n, 0, o), m([...e], t);
42
+ }, _ = (e, t, n) => ((e || []).splice(n, 1), m([...e], t)), v = (t, n, r) => {
43
+ let i = t && t.model && t.model.data || [], a = n && n.model && n.model.data || [], o = e(t && t.model && t.model.correctAnswer && t.model.correctAnswer.data || []), s = e(r ? r.categories : []), c = [];
44
+ if (i.length > a.length) return c = g(o, i), c;
45
+ if (i.length < a.length) {
46
+ let e = i.length;
47
+ for (let t = 0; t < i.length; t++) if (i[t].index !== t) {
48
+ e = t;
49
+ break;
50
+ }
51
+ return c = _(s, i, e), c;
52
+ }
53
+ return c = h(o, i), c;
54
+ }, y = class extends n.Component {
55
+ static propTypes = {
56
+ correctAnswerErrors: r.object,
57
+ studentNewCategoryDefaultLabel: r.string,
58
+ model: r.object.isRequired,
59
+ onChange: r.func.isRequired,
60
+ charts: r.array,
61
+ error: r.string
62
+ };
63
+ constructor(e) {
64
+ super(e), this.state = { categories: [] };
65
+ }
66
+ changeData = (e) => {
67
+ let { model: t, onChange: n } = this.props, { correctAnswer: r } = t || {};
68
+ n({
69
+ ...t,
70
+ correctAnswer: {
71
+ ...r,
72
+ data: e.map(({ interactive: e, editable: t, index: n, ...r }) => r)
73
+ }
74
+ });
75
+ };
76
+ componentDidMount() {
77
+ let e = v(this.props, this.props, null);
78
+ this.setState({ categories: e || h(this.props.model.correctAnswer.data, this.props.model.data) });
79
+ }
80
+ componentDidUpdate(e, n) {
81
+ let r = v(this.props, e, n);
82
+ r && !t(r, this.state.categories) && (this.changeData(r), this.setState({ categories: r }));
83
+ }
84
+ render() {
85
+ let { model: e, charts: t, error: n, studentNewCategoryDefaultLabel: r, correctAnswerErrors: i, mathMlOptions: m = {}, labelsPlaceholders: h = {} } = this.props, { categories: g } = this.state, { domain: _ = {}, range: v = {} } = e || {}, { identicalError: y, categoriesError: b } = i || {};
86
+ return /* @__PURE__ */ o("div", { children: [/* @__PURE__ */ a(p, { children: "Define Correct Response" }), /* @__PURE__ */ a(l, { children: /* @__PURE__ */ o(u, { children: [
87
+ /* @__PURE__ */ a(c, {
88
+ component: "div",
89
+ type: "body1",
90
+ children: /* @__PURE__ */ a("span", { children: "Use the tools below to define the correct answer." })
91
+ }),
92
+ a(y || b ? d : "div", { children: /* @__PURE__ */ a(s, {
93
+ chartType: e.chartType,
94
+ size: e.graph,
95
+ domain: _,
96
+ range: v,
97
+ charts: t,
98
+ data: g,
99
+ title: e.title,
100
+ onDataChange: this.changeData,
101
+ addCategoryEnabled: e.addCategoryEnabled,
102
+ categoryDefaultLabel: r,
103
+ error: n,
104
+ mathMlOptions: m,
105
+ labelsPlaceholders: h
106
+ }) }, `correct-response-graph-${e.correctAnswer.name}`),
107
+ (y || b) && /* @__PURE__ */ a(f, {
108
+ component: "div",
109
+ type: "body1",
110
+ children: /* @__PURE__ */ a("span", { children: y || b })
111
+ })
112
+ ] }, "graph") })] });
113
+ }
114
+ };
115
+ //#endregion
116
+ export { y as default };